package com.tf.integrated.service.impl;


import com.tf.integrated.dao.EventresulttricyclesinfoDao;
import com.tf.integrated.entity.EventresulttricyclesinfoEntity;
import com.tf.integrated.service.EventresulttricyclesinfoService;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.List;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ccssoft.m8.common.ccssoft.modules.util.EntityWrapperHandle;
import com.ccssoft.m8.common.ccssoft.modules.util.PageUtils;
import com.ccssoft.m8.common.ccssoft.modules.util.Query;


@Service("eventresulttricyclesinfoService")
public class EventresulttricyclesinfoServiceImpl extends ServiceImpl<EventresulttricyclesinfoDao, EventresulttricyclesinfoEntity> implements EventresulttricyclesinfoService<EventresulttricyclesinfoEntity>
{
    public PageUtils<EventresulttricyclesinfoEntity> queryPage(Map<String, Object> params)
    {
        EntityWrapperHandle<EventresulttricyclesinfoEntity> ew = new EntityWrapperHandle<EventresulttricyclesinfoEntity>(params);
        Page<EventresulttricyclesinfoEntity> page = this.selectPage(new Query<EventresulttricyclesinfoEntity>(params).getPage(),ew);
        page.setTotal(this.selectCount(ew));
        return new PageUtils<EventresulttricyclesinfoEntity>(page);
    }

    public List<EventresulttricyclesinfoEntity> queryPageByLike(Map<String, Object> params)
    {
        return baseMapper.queryPageByLike(params);
    }
}
